ROBLIB = -L./ -lRobSock -L$(QTDIR)/lib -lqt-mt

CXXFLAGS = -Wall -O3 -I$(QTDIR)/include -I$(QTDIR)
CFLAGS = -Wall 

LIB = -L$(QTDIR)/lib -lqt
LIBHEADERS = cmeasures.h csimparam.h netif.h structureparser.h croblink.h RobSock.h
LIBOBJS = RobSock.o netif.o structureparser.o croblink.o cmeasures.o csimparam.o

all:	libRobSock.a robsample

robsample:	mainRob.o 
	gcc -o robsample mainRob.o $(ROBLIB) 

libRobSock.a:	$(LIBOBJS)
	ar r libRobSock.a $(LIBOBJS)

$(LIBOBJS):	$(LIBHEADERS)

clean:
	rm -f *.o

distclean:
	make clean
	rm -f robsample
	rm -f libRobSock.a
